<div class="tableToolbar">
    <div class="coll-md-8" id="addInput">
        <div class="coll-md-15">
            <input type="text" class='search' placeholder="资产方名称" ng-model="ctrlScope.itemsearch.name">
        </div>
        <div class="coll-md-1">
            <input type="button" class="small-icon search2-icon" value="搜索" ng-click="search()">
            <input type="button" class="small-icon search2" value="搜索">
            <input type="button" class="small-icon reset-icon" reset-icon value="重置" ng-click="reset()">
            <input type="button" class="small-icon reset" value="重置">
        </div>
    </div>
    <div class="coll-md-2">
        <input type="button" class="bttn pos-left" ng-click="addModal()" value="新增">
    </div>
</div>
<div style="width:100%;overflow-x: auto">
    <table ui-table="orderParams"  cellspacing="0px" style="border-collapse:collapse;">
        <thead>
        <tr>
            <th>ID</th>
            <th>公司名称</th>
            <th>手机号码</th>
            <th>添加时间</th>
            <th>添加IP</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>

        <tr ng-repeat="item in orderParams.$rows">
            <td>{{item.id}}</td>
            <td>{{item.name}}</td>
            <td>{{item.phone}}</td>
            <td>{{item.addtime | date:"yyyy-MM-dd"}}</td>
            <td>{{item.addip}}</td>
            <td><a ng-click="modifyBtn(item.id)">修改</a></td>
        </tr>
        </tbody>
    </table>
</div>
<modal title="资产方管理" visible="detailModal">
    <form class="form-horizontal" name="myForm" novalidate>
        <div class="form-body">
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="control-label col-md-4">公司名称</label>
                        <div class="col-md-8">
                            <input type="text" class="form-control" ng-model="add.name" required>
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="control-label col-md-4">电话</label>
                        <div class="col-md-8">
                            <input type="text" class="form-control" ng-model="add.phone" required>
                        </div>
                    </div>
                </div>
            </div>
            <div class="buttonArea col-md-12">
                <button type="submit" class="btn blue"  ng-disabled="myForm.$invalid" ng-click="addBtn()" style="float: right">提交</button>
            </div>
        </div>
    </form>
</modal>